import styled from 'styled-components'

export const QuestionWrapper = styled.div`
  width: 1000px;
  /* height: 800px; */
  display: flex;
  margin: 10px auto 0 auto;
`
// export const CenterCode = styled.div`
//   height:946px;
//   overflow: auto;
//   /* margin-top: 20px; */
// `

export const TitleSticky = styled.div`
  height: 70px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  position: sticky;
  border-bottom: 1px solid #eee;
  top: 50px;
  background-color: #fff;
`

export const QuestionLeft = styled.div`
  width: 700px;
  margin-right: 10px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.1);
`

export const QuestionList = styled.div`
  overflow: auto;
  /* height: 1500px; */
  padding: 0 20px;
`

export const ListItem = styled.div`
  height: 130px;
  border-bottom: 1px solid #eee;
  padding: 30px 0;
  box-sizing: border-box;
  p {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
  }
  .item-bottom {
    display: flex;
    margin-top: 40px;
    justify-content: space-between;
    color: #8590a6;
    .bottom-left {
      display: flex;
      align-items: center;
      & div {
        margin: 0 20px 0 0;
        cursor: pointer;
      }
      .bottom-btn {
        color: #0084ff;
        border-color: #0084ff;
        text-align: center;
        background: none;
        border: 1px solid;
        border-radius: 3px;
        padding: 5px 16px;
      }
    }
    .bottom-right {
      font-size: 14px;
    }
  }
`

export const QuestionRight = styled.div`
  width: 300px;
`

export const StickyItem = styled.div`
  height: 32px;
  line-height: 32px;
  padding: 0 15px;
  color: #444444;
  margin: 0 10px;
  border-radius: 16px;
  background: rgba(133,144,166,.12);
  font-size: 14px;
  cursor: pointer;
  &:hover {
    background-color: rgba(0,132,255,.08);
  }
  &.active {
    background-color: rgba(0,132,255,.08);
    color: #0084ff;
  }
`